From 4d33f2c956971aca56176bb0b33dd7eab544293d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 4 Jun 2004 00:57:03 +0000 Subject: [PATCH] Fix the al lowed values and default value for the ::active property. Thu Jun 3 20:51:23 2004 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_class_init): Fix the al lowed values and default value for the ::active property. (#143669, Olivier Andrieu) --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ gtk/gtkcombobox.c | 4 ++-- 5 files changed, 26 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0ae4b8b724..051135f1a8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu Jun 3 20:56:19 2004 Matthias Clasen + + * gtk/gtkcombobox.c (gtk_combo_box_class_init): Fix the allowed + values and default value for the ::active property. (#143669, + Olivier Andrieu) + 2004-06-03 Michael Natterer * gtk/gtkimagemenuitem.c: use gtk_widget_get_child_requisition() diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 0ae4b8b724..051135f1a8 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Thu Jun 3 20:56:19 2004 Matthias Clasen + + * gtk/gtkcombobox.c (gtk_combo_box_class_init): Fix the allowed + values and default value for the ::active property. (#143669, + Olivier Andrieu) + 2004-06-03 Michael Natterer * gtk/gtkimagemenuitem.c: use gtk_widget_get_child_requisition() diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 0ae4b8b724..051135f1a8 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Thu Jun 3 20:56:19 2004 Matthias Clasen + + * gtk/gtkcombobox.c (gtk_combo_box_class_init): Fix the allowed + values and default value for the ::active property. (#143669, + Olivier Andrieu) + 2004-06-03 Michael Natterer * gtk/gtkimagemenuitem.c: use gtk_widget_get_child_requisition() diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 0ae4b8b724..051135f1a8 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Thu Jun 3 20:56:19 2004 Matthias Clasen + + * gtk/gtkcombobox.c (gtk_combo_box_class_init): Fix the allowed + values and default value for the ::active property. (#143669, + Olivier Andrieu) + 2004-06-03 Michael Natterer * gtk/gtkimagemenuitem.c: use gtk_widget_get_child_requisition() diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index 08d32ef962..05cd83869c 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -502,9 +502,9 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) g_param_spec_int ("active", P_("Active item"), P_("The item which is currently active"), - 0, + -1, G_MAXINT, - 0, + -1, G_PARAM_READWRITE)); /** -- 2.30.2